#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :decimal_21.py
# @Time      :2020/6/22 15:17
# @Author    :Administrator

dec = int(input("输入数字:"))

print('十进制数为：', dec)
print('二进制数为：', bin(dec))
print('八进制数为: ', oct(dec))
print('十六进制为: ',hex(dec))
